package com.macasa.panel.entity.api;

public interface IUser extends IModel<Integer> {

	IRole getCurrentRole();

	String getLogin();

	String getPassword();

	void setCurrentRole(final IRole currentRole);

	void setLogin(final String login);

	void setPassword(final String password);

	boolean isEnabled();

	boolean isAccountNonExpired();

	boolean isCredentialsNonExpired();

	boolean isAccountNonLocked();

	void setEnabled(final boolean enabled);

	void setAccountNonExpired(final boolean accountNonExpired);

	void setCredentialsNonExpired(final boolean credentialsNonExpired);

	void setAccountNonLocked(final boolean accountNonLocked);
}
